
import request from '@/utils/request'

// 动态列表
export function dynamicList(params?: any) {
    return request.get({ url: '/dynamic.dynamic/dynamicList', params })
}

//动态详情
export function infos(params?: any) {
    return request.get({ url: '/dynamic.dynamic/infos', params })
}

//动态上下架
export function delDynamic(params?: any) {
    return request.get({ url: '/dynamic.dynamic/delDynamic', params })
}

//用户举报列表（圈子举报列表）
export function circleAccusationLists(params?: any) {
    return request.get({ url: '/user.user/circleAccusationLists', params })
}

//用户举报详情（圈子举报详情）
export function circleAccusationDetail(params?: any) {
    return request.get({ url: '/user.user/circleAccusationDetail', params })
}

//圈子举报 成立
export function circleEstablish(params?: any) {
    return request.post({ url: '/user.user/circleEstablish', params })
}

//圈子举报 不成立
export function circleUnEstablish(params?: any) {
    return request.post({ url: '/user.user/circleUnEstablish', params })
}

//聊天举报列表
export function chatAccusationLists(params?: any) {
    return request.get({ url: '/user.user/chatAccusationLists', params })
}

//聊天举报详情
export function chatAccusationDetail(params?: any) {
    return request.get({ url: '/user.user/chatAccusationDetail', params })
}

// 聊天举报 成立
export function chatEstablish(params?: any) {
    return request.post({ url: '/user.user/chatEstablish', params })
}

// 聊天举报 不成立
export function chatUnEstablish(params?: any) {
    return request.post({ url: '/user.user/chatUnEstablish', params })
}
// 动态置顶
export function toTop(params?: any) {
    return request.post({ url: '/dynamic.dynamic/toTop', params })
}
// 标签设置
export function setTag(params?: any) {
    return request.post({ url: '/dynamic.dynamic/setTag', params })
}